<html>
	<head>
		<script type="text/javascript">
			navigator.sayswho= (function(){
				var ua= navigator.userAgent, 
				N= navigator.appName, tem, 
				M= ua.match(/(opera|chrome|safari|firefox|msie|trident)\/?\s*([\d\.]+)/i) || [];
				M= M[2]? [M[1], M[2]]:[N, navigator.appVersion, '-?'];
				if(M && (tem= ua.match(/version\/([\.\d]+)/i))!= null) M[2]= tem[1];
				return M.join(' ');
			})();
		</script>
		<script type="text/javascript">
			console.log(navigator.sayswho);
		</script>
	</head>
</html>